num1 = input('Enter first number: ')   #输入num1
num2 = input('Enter second number: ')   #输入num2
sum = float(num1) + float(num2)   #两数相加
print('The sum of {0} and {1} is {2}'.format(num1, num2, sum))   #输出两数之和